﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Mvc;
using FazaDemo.PL.ViewModelEntities;

namespace FazaDemo.ViewModels
{
    public class NavPageViewModel
    {

        private readonly IList<DropDownCondition> _resultKinds = 
            new List<DropDownCondition>
            {
                new DropDownCondition {Id = 0, Name = "данные"}, 
                new DropDownCondition {Id = 1, Name = "итоги"}, 
                new DropDownCondition {Id = 2, Name = "список в память"}
            };
       
        public string Tittle { get; set; }

        public int SelectedKindId { get; set; }

        public IEnumerable<SelectListItem> ResultKinds
        {
            get { return new SelectList(_resultKinds, "Id", "Name", 0); }
        }

        public IEnumerable<NavElementViewModel> NavArea { get; set; }

    }
}
